{"version":3,"file":"script.min.js","sources":["script.js"],"names":["window","JCCatalogSocnetsComments","arParams","i","this","errorCode","params","serviceList","blog","facebook","vk","settings","ajaxUrl","ajaxParams","contID","contWidthID","parentContID","facebookJSDK","facebookPath","services","obBlogCont","obFBCont","obFBContWidth","obFBParentCont","obFBjSDK","currentWidth","activeTabId","currentTab","tabsContId","tabList","obTabList","hasOwnProperty","initParams","tabs","BX","ready","proxy","Init","prototype","id","type","isArray","length","strFullId","tabId","contId","tab","cont","bind","onClick","firstChild","showActiveTab","loadBlog","loadFB","postData","sessid","bitrix_sessid","ajax","timeout","method","dataType","url","data","onsuccess","loadBlogResult","result","isNotEmptyString","adjust","html","width","parseInt","offsetWidth","isNaN","attrs","data-width","defer","d","s","fbpath","js","fjs","getElementsByTagName","getElementById","createElement","src","parentNode","insertBefore","document","getFBParentWidth","setFBWidth","obFrame","newSrc","fitrstChild","getAttribute","replace","style","onResize","target","proxy_context","index","hideActiveTab","removeClass","addClass","onCustomEvent","activeTab"],"mappings":"CAAC,SAAUA,GACX,KAAMA,EAAOC,yBACb,CACC,OAGDD,EAAOC,yBAA2B,SAASC,GAE1C,GAAIC,EAEJC,MAAKC,UAAY,CAEjBD,MAAKE,SAELF,MAAKG,aACJC,KAAM,MACNC,SAAU,MACVC,GAAI,MAELN,MAAKO,UACJH,MACCI,QAAS,GACTC,cACAC,OAAQ,2BAETL,UACCK,OAAQ,yBACRC,YAAa,GACbC,aAAc,eACdC,aAAc,iBACdC,aAAc,IAEfR,MAGDN,MAAKe,UACJX,MACCY,WAAY,MAEbX,UACCY,SAAU,KACVC,cAAe,KACfC,eAAgB,KAChBC,SAAU,KACVC,aAAc,GAIhBrB,MAAKsB,YAAc,EACnBtB,MAAKuB,YAAc,CACnBvB,MAAKwB,WAAa,EAClBxB,MAAKyB,UACLzB,MAAK0B,YAEL,UAAW5B,KAAa,SACxB,CACCE,KAAKE,OAASJ,CACd,MAAME,KAAKE,OAAOC,mBAAsBH,MAAKE,OAAkB,cA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